/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sevenpriciples.dip.dip.violation.impl;

/**
 *
 * @author 210227257
 */
public class GenerateReport {    
    
    public String displayReport(StudentImpl student, MarksImpl marks){
        student = new StudentImpl("Luckson", "Moyo", 210227257);
        marks = new MarksImpl(86, 89, 79, 78, 75);
        return String.format("Full Name: %s %s\nStudent Number: %d\nAverage Final Mark: %.2f", student.getStudentName(), student.getStudentSurname(), student.getStudentNumber(), marks.getFinalMark());
    }
}
